﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Truck.aspx.cs" Inherits="HPITSS.Truck" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
     <script type="text/javascript">
        $(function () {
            $(".del").click(function () {
                return confirm("您确定要删除么？")
            })
        })
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Repeater ID="Repeater1" runat="server">
        <HeaderTemplate>
            <table>
                <th>车辆编号</th>
                <th>车牌号码</th>
                <th>购车日期</th>
                <th>车辆类型</th>
                <th>车辆长度</th>
                <th>吨位</th>
                <th>车队</th>
                <th>工作状态</th>
                <th>创建时间</th>
                <th>修改时间</th>
                <th>查看</th>
                <th>用户操作</th>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td><%# Eval("TruckID") %></td>
                <td><%# Eval("Number") %></td>
                <td><%# Eval("BuyDate") %></td>
                <td><%# Eval("Type") %></td>
                <td><%# Eval("Length") %></td>
                <td><%# Eval("Tonnage") %></td>
                <td><%# Eval("FK_TeamID") %></td>
                <td><%# Eval("State") %></td>
                <td><%# Eval("Remark") %></td>
                <td><%# Eval("CheckInTime") %></td>
                <td><%# Eval("IsDelete") %></td>
                <td><%# Eval("CheckInTime") %></td>
                <td><a href="#">查看</a></td>
                <td><a href="EditTruck.aspx?TruckID=<%# Eval("TruckID") %>">修改</a>
                    <a href="MyHandler/DelTruckHandle.ashx?TruckID=<%# Eval("TruckID") %>" class="del">删除</a>
                </td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>
</asp:Content>
